swoop in to save the day

Translations
вмешаться, чтобы спасти ситуацию
Just when everything seemed lost, someone swooped in to save the day.
Только когда всё казалось потерянным, кто-то вмешался, чтобы спасти ситуацию.
Definitions
To arrive suddenly and unexpectedly in order to help or solve a problem, often at a critical moment, thereby preventing failure or disaster.